:root {
  --active: #ff6900;
}

html,
body {
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
}

.slideshow {
  position: relative;
  width: 100vw;
  height: 100vh;

  .contents {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

    .content-item {
      position: absolute;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
      width: 100%;
      height: 100%;
      object-fit: cover;

      &.active {
        opacity: 1;
      }
    }
  }

  .controls>button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    background-color: transparent;
    border: none;
    padding: 10px;

    &:hover {
      cursor: pointer;
      background-color: var(--active);
    }
  }

  button#next-btn {
    right: 0;
  }

  button#prev-btn {
    left: 0;
  }

  .indicators {
    position: absolute;
    bottom: 0;
    left: 50%;
    translate: translateX(-50%);
    display: flex;
    gap: 5px;
    padding-bottom: 10px;

    .indicator {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: white;
      transition: background-color 0.3s ease-in-out;

      &:hover {
        background-color: var(--active);
      }

      &.active {
        background-color: var(--active);
      }
    }
  }
}